package com.task.service;

import com.task.bean.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.task.bean.Teacher;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuzhe
 * @since 2021-04-10
 */
public interface IStudentService extends IService<Student> {
    List<Student> queryStuByTeaId(int teaId);

    Student queryStuByUsernameAndPassword(Student student);

    List<Teacher> queryTeaByStuId(int stuId);

    List<Student> queryStuPage(int pageNum, int pageSize);

    List<Student> queryStuNo(int teaId);
}
